﻿#region Includes
using System;
using System.Runtime.InteropServices;
#endregion

namespace GingerGL.Drawing.BSP
{
    //------------------------------------------------------------//
    /// <summary>
    /// polygon face for drawing
    /// </summary>
    [StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)]
    public struct PolygonFace
    {
        //--------------------------------------------------------//
        #region Variables
        /// <summary>
        /// Gets Vertex Start Postion
        /// </summary>
        public Int32 FirstVertexIndex;
        /// <summary>
        /// Gets Number of Vertices
        /// </summary>
        public Int32 NumVertices;
        /// <summary>
        /// Gets Texture Index Position
        /// </summary>
        public Int32 TextureIndex;
        /// <summary>
        /// Gets Lightmap Index Position
        /// </summary>
        public Int32 LightmapIndex;
        #endregion
        //--------------------------------------------------------//
    }
    //------------------------------------------------------------//
}
